import useCount from './useCount'
import useTitle from './useTitle'
const App = () => {
  const { count, add } = useCount()
  useTitle(count)

  
  return (
    <div>
      <button onClick = { add }>add</button> { count }
    </div>
  )
}

export default App